package com.itheima.reggie.service;

import com.itheima.reggie.common.Page;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Result;

public interface EmployeeService {
    //登录
    public Result<Employee> login(Employee employee );
    //添加
    Result add(Employee employee);
    //获取员工数据
    Page<Employee> page(Integer page, Integer pageSize, String name);

    void updateStatus(Employee employee);

    Employee updateEmployee(Long id);

    Employee findById(Long id);
}
